<!DOCTYPE html>
<html>
<head>
    <title>评论表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div style="float: left;height:34px;line-height:34px;">医生名：</div>
            <div style="float: left;">
                <input type="text" class="form-control" v-model="q.dname" @keyup.enter="query" placeholder="医生名">
            </div>
            <div style="float: left;height:34px;line-height:34px;">评论时间：</div>
            <div style="float: left;width:350px;margin-right: 10px;" id="sandbox-container">

                <div class="input-group date" style="width:46%;float:left;">
                    <input type="text" class="form-control" id="startime" ><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
                </div>
                <div style="width: 4%;float:left;margin-left:7px;margin-top:8px;padding-left:1px;">
                    -
                </div>
                <div class="input-group date" style="width:48%;">
                    <input type="text" class="form-control" id="endtime" ><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
                </div>

            </div>
            <a class="btn btn-primary" @click="query">查询</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">医生名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="evaluate.doctorname" disabled="disabled" placeholder="医生名"/>
                        </div>
                    </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">用户名</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" v-model="evaluate.username" disabled="disabled" placeholder="用户名"/>
                    </div>
                </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">评论星级</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="evaluate.star" disabled="disabled" placeholder="评论星级"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">问诊时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="evaluate.wenzhentime" disabled="disabled" placeholder="问诊时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">评论时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="evaluate.createtime" disabled="disabled" placeholder="评论时间"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">评论</div>
                        <div class="col-sm-10">
                                    <textarea cols="6" rows="7" class="form-control" v-model="evaluate.evaluate" placeholder="评论" disabled="disabled">

                                    </textarea>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
               <input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/evaluate.js?_${.now?long}"></script>
<script>
    $("#sandbox-container .input-group.date").datepicker({
        language: "zh-CN",
        clearBtn: true, //清除按钮
        format: "yyyy-mm-dd",
        todayHighlight:true
    });
</script>
</body>
</html>